package com.hui.account.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class RecordEntity {

    int id;

    int icon; // 图标

    int userId; // 客户id

    int type; // 0:未还 1:已还

    int status; // 0:正常 1:逻辑删除

    String imageName; // 欠款证明

    String pay; // 支付方式

    String remark; // 备注

    BigDecimal money; // 欠款金额

    String time; // yyyy年MM月dd日 HH:mm

    int year; // 年

    int month; // 月

    int day; // 日

    Timestamp payTime; // 还款时间

    Timestamp createTime; // 创建时间

    public RecordEntity() {
    }

    public RecordEntity(int id, int icon, int userId, int type, int status, String imageName, String pay, String remark, BigDecimal money, String time, int year, int month, int day, Timestamp payTime, Timestamp createTime) {
        this.id = id;
        this.icon = icon;
        this.userId = userId;
        this.type = type;
        this.status = status;
        this.imageName = imageName;
        this.pay = pay;
        this.remark = remark;
        this.money = money;
        this.time = time;
        this.year = year;
        this.month = month;
        this.day = day;
        this.payTime = payTime;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getImageName() {
        return imageName;
    }

    public void setImageName(String imageName) {
        this.imageName = imageName;
    }

    public String getPay() {
        return pay;
    }

    public void setPay(String pay) {
        this.pay = pay;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public Timestamp getPayTime() {
        return payTime;
    }

    public void setPayTime(Timestamp payTime) {
        this.payTime = payTime;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "RecordEntity{" +
                "id=" + id +
                ", icon=" + icon +
                ", userId=" + userId +
                ", type=" + type +
                ", status=" + status +
                ", imageName='" + imageName + '\'' +
                ", pay='" + pay + '\'' +
                ", remark='" + remark + '\'' +
                ", money=" + money +
                ", time='" + time + '\'' +
                ", year=" + year +
                ", month=" + month +
                ", day=" + day +
                ", payTime=" + payTime +
                ", createTime=" + createTime +
                '}';
    }
}
